Inheritance of rules across hierarchical levels

ABSTRACT

Rules, such as condition-action rules, are configured at different levels of a hierarchy. For example, a top level site administrator may configure rules, lower level administrators may configure rules and end users may configure rules. Rules created at a higher hierarchical level are automatically inherited by lower hierarchical levels in the same branch of the hierarchy. The source of the inherited rule is indicated with its display such that the hierarchical level of creation can readily be determined. The inherited rule(s) may be toggled on/off at the lower hierarchical levels but edits to inherited rule(s) are restricted. Instead, a copy of any inherited rule may be made to create a local copy of the rule that is editable. Rules may be ordered and when a lower hierarchical level inherits the rules, the ordering is preserved. While the ordering of any rules remains constant when inherited at the lower levels, the lower level may toggle on/off the execution of each rule within the ordering.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation application and claims priority to U.S. patent application Ser. No. 14/878,011, filed Oct. 8, 2015, entitled “INHERITANCE OF RULES ACROSS HIERARCHICAL LEVELS,”, issued U.S. Pat. No. 9,792,264, which is a continuation of U.S. patent application Ser. No. 13/287,645, filed Nov. 2, 2011, entitled “INHERITANCE OF RULES ACROSS HIERARCHICAL LEVELS,” issued U.S. Pat. No. 9,189,563, which applications are incorporated herein by reference in their entirety.

BACKGROUND

Many services and programs use rules for configuring and defining the operation of the program. Some of the rules may be set by a system administrator, some rules may be set by a user of the system, while other rules may be set by other administrators at other levels within a hierarchy of the system. For example, a search service may have an administrator for the overall search service that sets rules and administrators for smaller portions of the search service (e.g. a site collection). Configuring and managing all of these different rules can be a complex task.

SUMMARY

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

Rules, such as condition-action rules, are configured at different levels of a hierarchy. For example, a top level site administrator may configure rules, lower level administrators may configure rules and end users may configure rules. Rules created at a higher hierarchical level are automatically inherited by lower hierarchical levels in the same branch of the hierarchy. The source of the inherited rule is indicated with its display such that the hierarchical level of creation can readily be determined. The inherited rule(s) may be toggled on/off at the lower hierarchical levels but edits to inherited rule(s) are restricted. Instead, a copy of any inherited rule may be made to create a local copy of the rule that is editable. Rules may be ordered and when a lower hierarchical level inherits the rules, the ordering is preserved. While the ordering of any rules remains constant when inherited at the lower levels, the lower level may toggle on/off the execution of each rule within the ordering.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an exemplary computing device;

FIG. 2 illustrates an exemplary system for configuring rules at different hierarchical levels;

FIG. 3 shows a hierarchy of rules configured by different administrators/users within the hierarchy; and

FIG. 4 shows an illustrative processes for configuring rules at different hierarchical levels.

DETAILED DESCRIPTION

Referring now to the drawings, in which like numerals represent like elements, various embodiments will be described. In particular, FIG. 1 and the corresponding discussion are intended to provide a brief, general description of a suitable computing environment in which embodiments may be implemented.

Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Other computer system configurations may also be used, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. Distributed computing environments may also be used where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

Referring now to FIG. 1, an illustrative computer architecture for a computer 100 utilized in the various embodiments will be described. The computer architecture shown in FIG. 1 may be configured as a server computing device, a desktop computing device, a mobile computing device (e.g. smartphone, notebook, tablet . . . ) and includes a central processing unit 5 (“CPU”), a system memory 7, including a random access memory 9 (“RAM”) and a read-only memory (“ROM”) 10, and a system bus 12 that couples the memory to the central processing unit (“CPU”) 5.

A basic input/output system containing the basic routines that help to transfer information between elements within the computer, such as during startup, is stored in the ROM 10. The computer 100 further includes a mass storage device 14 for storing an operating system 16, application(s) 24, and other program modules, such as Web browser applications 25, rules 27, and rules manager 26 which will be described in greater detail below.

The mass storage device 14 is connected to the CPU 5 through a mass storage controller (not shown) connected to the bus 12. The mass storage device 14 and its associated computer-readable media provide non-volatile storage for the computer 100. Although the description of computer-readable media contained herein refers to a mass storage device, such as a hard disk or CD-ROM drive, the computer-readable media can be any available media that can be accessed by the computer 100.

By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, Erasable Programmable Read Only Memory (“EPROM”), Electrically Erasable Programmable Read Only Memory (“EEPROM”), flash memory or other solid state memory technology, CD-ROM, digital versatile disks (“DVD”), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer 100.

According to various embodiments, computer 100 may operate in a networked environment using logical connections to remote computers through a network 18, such as the Internet. The computer 100 may connect to the network 18 through a network interface unit 20 connected to the bus 12. The network connection may be wireless and/or wired. The network interface unit 20 may also be utilized to connect to other types of networks and remote computer systems. The computer 100 may also include an input/output controller 22 for receiving and processing input from a number of other devices, such as a touch input device. The touch input device may utilize any technology that allows single/multi-touch input to be recognized (touching/non-touching). For example, the technologies may include, but are not limited to: heat, finger pressure, high capture rate cameras, infrared light, optic capture, tuned electromagnetic induction, ultrasonic receivers, transducer microphones, laser rangefinders, shadow capture, and the like. According to an embodiment, the touch input device may be configured to detect near-touches (i.e. within some distance of the touch input device but not physically touching the touch input device). The touch input device may also act as a display 28. The input/output controller 22 may also provide output to one or more display screens, a printer, or other type of output device.

A camera and/or some other sensing device may be operative to record one or more users and capture motions and/or gestures made by users of a computing device. Sensing device may be further operative to capture spoken words, such as by a microphone and/or capture other inputs from a user such as by a keyboard and/or mouse (not pictured). The sensing device may comprise any motion detection device capable of detecting the movement of a user. For example, a camera may comprise a MICROSOFT KINECT® motion capture device comprising a plurality of cameras and a plurality of microphones.

Embodiments of the invention may be practiced via a system-on-a-chip (SOC) where each or many of the components/processes illustrated in the FIGURES may be integrated onto a single integrated circuit. Such a SOC device may include one or more processing units, graphics units, communications units, system virtualization units and various application functionality all of which are integrated (or “burned”) onto the chip substrate as a single integrated circuit. When operating via a SOC, all/some of the functionality, described herein, with respect to the Unified Communications via application-specific logic integrated with other components of the computing device/system 100 on the single integrated circuit (chip).

As mentioned briefly above, a number of program modules and data files may be stored in the mass storage device 14 and RAM 9 of the computer 100, including an operating system 16 suitable for controlling the operation of a networked personal computer, such as the WINDOWS SERVER®, WINDOWS 7® operating systems from MICROSOFT CORPORATION of Redmond, Wash.

The mass storage device 14 and RAM 9 may also store one or more program modules. In particular, the mass storage device 14 and the RAM 9 may store one or more applications 24, such as productivity applications, and may store one or more Web browsers 25. The Web browser 25 is operative to request, receive, render, and provide interactivity with electronic documents, such as a Web page. According to an embodiment, the Web browser comprises the INTERNET EXPLORER Web browser application program from MICROSOFT CORPORATION.

Rules manager 26 is configured to display and interact with rules at different hierarchical levels. Rules manager 26 may be a part of many different applications/services. For example, rules manager 26 may be a part of a cloud based multi-tenant service that provides resources (e.g. services, data . . . ) to different tenants. Rules manager 26 may be a part of other programs/services 19, such as, but not limited to: email, security (e.g. firewalls), search, and the like. According to an embodiment, rules manager 26 operates with MICROSOFT SHAREPOINT. Generally, rules, such as condition-action rules, are configured by different users/administrators at different levels of a hierarchy. For example, a top level site administrator may configure rules, lower level administrators may configure rules and an end user may configure rules. Rules created at a higher hierarchical level are automatically inherited by lower hierarchical levels in the same branch of the hierarchy (e.g. a sibling does not inherit a rule from a same hierarchical level). The source of the inherited rule is indicated with its display such that the hierarchical level of creation can readily be determined. The inherited rule(s) may be toggled on/off at the lower hierarchical levels but edits to inherited rule(s) are restricted. Instead, a copy of any inherited rule may be made to create an editable local copy of the rule. Rules may be ordered and when a lower hierarchical level inherits the rules, the ordering is preserved. The ordering of any hard-ordered rules remains constant at the lower levels, but the lower level may toggle on/off the execution of each rule within the ordering. Additional details regarding the operation of rules manager 26 will be provided below.

FIG. 2 illustrates an exemplary system for configuring rules at different hierarchical levels. As illustrated, system 200 includes service 210, tenant 1 (220), tenant 2 (230), tenant N (240), user 1 of tenant 2 (250) and network 201. Rules may be configured for other services/programs. The illustration of service 210 is for explanatory purposes and is not intended to be limiting.

As illustrated, service 210 is a multi-tenant service that provides resources 215 and services to any number of tenants (e.g. Tenants 1-N). According to an embodiment, multi-tenant service 210 is a cloud based service that provides resources/services to tenants subscribed to the service and maintains each tenant's data separately and protected from other tenant data. For example, service 210 may be configured to provide services corresponding to productivity applications (e.g. word processing, spreadsheet, presentation, messaging . . . ), security applications, data management applications, data sharing applications, and the like.

As illustrated, rules 217 are condition-action rules that are configured by one or more users/administrators at different hierarchical levels for the service. Rules 217 may store all/portion of the rules for one or more of the hierarchical levels. For example, rules 217 may store the rules for each of the different hierarchical levels. Rules may also/alternatively be stored at other locations. For example, the rules for each hierarchical level may be distributed across each the different hierarchical levels.

One or more rules manager 26 may be included within the system. For example, a single rules manager 26 may be utilized within service 210 and/or a rules manager may be included at other locations (e.g. each tenant and user as illustrated in 220, 230, 240 and 250). The distributed rules managers may be configured to interact with each other. For example, rules manager 26 on Tenant 1 may be configured to provide a local rules manager for tenant 1 that communicates rule information to the rules manager 26 of service 210. The following is an example flow of creating rules at different hierarchical levels for service 210.

In the current example, Tenants 1-N have one or more administrators/users at a lower hierarchical level from one or more administrators of service 210. Tenant 1 includes inherited rules 217 developed by an administrator of service 210 and local rules 222 that were created by Tenant 1. Tenant 2 includes inherited rules 217 developed by an administrator of service 210 and local rules 232 that were created by Tenant 2. Tenant N includes inherited rules 217 developed by an administrator of service 210 and local rules 232 that were created by Tenant N. User 1 of Tenant 2 (250) includes inherited rules 217 developed by an administrator of service 210, inherited rules 232 that were created by Tenant 2 (230) and local rules 252 that were created by user 1 of tenant 2.

Whenever a rule is created/changed at a higher level within the hierarchy, the rule is automatically incorporated within the lower hierarchical levels within the same branch of the hierarchy. The source of the inherited rule is indicated with its display such that the hierarchical level of creation can readily be determined. For example, the name of the rule may include the name of the administrator and/or level that created the rule (See FIG. 3). The inherited rule(s) may be toggled on/off at the lower hierarchical levels. According to an embodiment, inherited rules are non-editable. Instead, a copy of an inherited rule may be made to create an editable local copy of the rule. A rule may toggled on/off at any level within the hierarchy. Toggling on/off the rule at a higher level within the hierarchy is reflected in lower hierarchical levels. According to an embodiment, when a lower level has previously toggled off the rule, toggling the rule on/off at a higher level within the hierarchy is not propagated to the hierarchical level that already has the rule turned off.

Rules may be ordered and when a lower hierarchical level inherits the rules, the ordering is preserved. The ordering of any hard-ordered rules remains constant at the lower levels, but the lower level may toggle on/off the execution of each rule within the ordering.

Execution of the rules can be configured by the program/service to which they apply. According to an embodiment, rules from a higher level within the hierarchy are fired/executed before rules at lower levels within the hierarchy and hard-ordered rules are fired in the order specified. Different configuration of rule execution may be made depending on the service/program.

FIG. 3 shows a hierarchy of rules configured by different administrators/users within the hierarchy. As illustrated rules hierarchy 300 includes level 1 (L1) administrator 310, level 2 (L2A1) administrator 320, level 2 (L2A2) administrator 330, level 3 (L3A1) user 340, level 3 (L3A2) administrator 350 and level 3 (L3A3) administrator 360. More of fewer hierarchical levels may be included.

As illustrated, L1 at level 1 has configured one rule (R1) that is currently toggled on. Each hierarchical level below level 1 (level 2 and level 3) inherit rule R1. According to an embodiment, when a rule is inherited by a level, descriptive information is included that shows what level and/or who created the rule. For example, referring to box 322 it can be seen rule R1 came from level 1 (L1). Other naming schemes may be used. For example, rules from different levels may be shown in different colors/fonts, a rule may include a name of the creator, and the like. Rule R2 in box 322 is a rule created at level 2 by L2A1.

Inherited rules can be toggled on/off. In the current example, L2A2 (330) and L3A1 (340) has toggled rule R1 off. Toggling on/off a rule may occur at any time. When a user/administrator toggles on/off a rule at a higher level it is changed at the lower levels. In the current example, L2A2 toggling R1 off caused R1 at level 3 for L3A2 L3A3 to be toggled off. According to an embodiment, when a user at a lower level toggles off a rule and it is toggled at a higher level, the change to the rule is not automatically propagated.

Changes to a sibling's rules do not affect each other. For example, if L2A1 makes a change to a rule (e.g. creates a new rule, toggles a rule on/off, changes an ordering) that change is not propagated to its sibling L2A2. The changes are, however, automatically reflected in the children of L2A1 (in this example, L3A1).

According to an embodiment, inherited rules are not changeable. Instead, an inherited rule may be copied to create an editable local copy. For example, L3A1 (340) has created a copy of R1 that is editable.

Rules may be ordered such that a specific firing of the rules is created (hard ordering). In the current example, L2A2 has created an ordering of rules (Ordering1) that is inherited by the lower hierarchical levels within the same branch (L3A2 and L3A3). As with a single inherited rule, an ordering of rules is non-editable but the ordering may be copied and each rule within the ordering may be toggled on/off. For example, L3A3 has toggled rule R4 on.

FIG. 4 shows an illustrative processes for configuring rules at different hierarchical levels. When reading the discussion of the routines presented herein, it should be appreciated that the logical operations of various embodiments are implemented (1) as a sequence of computer implemented acts or program modules running on a computing system and/or (2) as interconnected machine logic circuits or circuit modules within the computing system. The implementation is a matter of choice dependent on the performance requirements of the computing system implementing the invention. Accordingly, the logical operations illustrated and making up the embodiments described herein are referred to variously as operations, structural devices, acts or modules. These operations, structural devices, acts and modules may be implemented in software, in firmware, in special purpose digital logic, and any combination thereof.

After a start operation, the process 400 flows to operation 410, where rules from the hierarchy are displayed. The rules include the rules created at the current hierarchical level along with inherited rules from higher levels within the hierarchy. According to an embodiment, when a change is made to a rule at a higher level within the hierarchy it is automatically reflected and updated in the display at the lower hierarchical level(s).

Moving to operation 420, an authorized user/administrator may edit/copy rules. As discussed above, inherited rules may be copied to create an editable local copy of the rule on that level. An authorized user may also create new rules at the hierarchical level. Rules created at the hierarchical level of the displayed rules may also be edited/changed. Copied rules and newly created/edited rules are automatically propagated to the lower levels.

Flowing to operation 430, any of the displayed rules may be toggled on/off. For example, a rule from one or more levels may be toggled on/off. As discussed above, toggling a rule at a higher level toggles the rule at the lower hierarchical levels unless the lower level has already explicitly toggled the rule to off.

Transitioning to operation 440, an ordering of the rules may be performed. A user may order rules that were not inherited as ordered. According to an embodiment, an inherited set of ordered rules is not changeable at a lower level. Instead, a user at the lower level would create a copy of the ordered rules and reconfigure the ordering of the local copy. The user may then toggle off the rules in the inherited ordering.

Moving to operation 450, changed rules are automatically propagated to the lower levels. The rules may be automatically propagated based on different conditions. For example, a change to a rule may be automatically propagated in response to any change to the rule, at pre-determined times (e.g. check for rule changes every 5, 10, 30, 60 minutes, once a day, and the like), in response to a selection to activate the change, and the like.

Flowing to operation 460 an ordering of the rules for execution is determined. The execution of the rules may be configured differently depending on the system. For example, some services/programs may allow rules to be fired in parallel while other services/programs follow a specified order of execution. According to an embodiment, rules are fired according to hierarchical level (e.g. top level rules fired before lower level rules) and whether the rules are ordered (when ordered the rules are executed in arranged order).

Transitioning to operation 470, the rules are executed according to the determined order.

The process then moves to an end operation and returns to processing other actions.

The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended. 

1-20. (canceled)
 21. A method for providing rules associated with a multi-tenant service that provides resources to different tenants, comprising: displaying rules including first hierarchical level rules from a first hierarchical level and inherited rules from a hierarchical level above the first hierarchical level to form displayed rules; providing an indicator that indicates a source of an inherited rule from one or more hierarchical levels above the first hierarchical level; receiving a change to the displayed rules; and providing the change to a hierarchical level below the first hierarchical level such that the displayed rules are displayed at the hierarchical level below the first hierarchical level and include the change made to the displayed rules.
 22. The method of claim 21, wherein receiving the change to the displayed rules includes determining when a rule is enabled and when the rule is disabled, wherein the inherited rules can be enabled and disabled at each of the hierarchical levels above the first hierarchical level.
 23. The method of claim 21, wherein receiving the change to the displayed rules includes determining when a rule is added.
 24. The method of claim 21, wherein receiving the change to the displayed rules includes determining an ordering of the displayed rules.
 25. The method of claim 21, wherein receiving the change to the displayed rules includes determining when an inherited rule is copied and creating a local version of the inherited rule that is editable and can be deleted.
 26. The method of claim 21, wherein the indicator is a name near a display of the inherited rule.
 27. The method of claim 21, further comprising: displaying ordered inherited rules as a grouping; and indicating a name near a display of the ordered inherited rules that indicates a hierarchical level where the ordering was created.
 28. The method of claim 21, further comprising preventing an ordering of inherited rules from being changed at a lower hierarchical level but allowing each of the inherited rules within the ordering to be enabled or disabled.
 29. The method of claim 21, further comprising executing the displayed rules based on an ordering of the displayed rules determined from the hierarchical levels of the displayed rules and any explicit ordering of the displayed rules.
 30. A computer storage device having computer-executable instructions for providing rules associated with a multi-tenant service that provides resources to different tenants, comprising: displaying rules including rules from a first level and inherited rules from a hierarchical level above the first level to form displayed rules; providing an indicator that distinguishes the rules from the first level from rules from a hierarchical level above the first level by indicating a source of an inherited rule from one or more hierarchical levels above the first level; receiving a change to the displayed rules; and providing the change to a hierarchical level below the first level such that the displayed rules are displayed at the hierarchical level below the first level and include the change made to the displayed rules.
 31. The computer storage device of claim 30, wherein receiving the change to the displayed rules includes determining when a rule is added.
 32. The computer storage device of claim 30, wherein receiving the change to the displayed rules includes receiving a specific ordering of a subset of the displayed rules.
 33. The computer storage device of claim 30, wherein receiving the change to the displayed rules includes creating a local version of an inherited rule that is editable and can be deleted at the first level.
 34. The computer storage device of claim 30, wherein distinguishing the inherited rules from the rules from the first level includes displaying ordered rules as a grouping and indicating a name near a display of the ordered rules that indicates a level where the ordering was created.
 35. The computer storage device of claim 30, further comprising preventing an ordering of the inherited rules from being changed at a lower hierarchical level but allowing each of the inherited rules within the ordering to be enabled or disabled.
 37. A system for defining rules associated with a multi-tenant service that provides resources to different tenants, comprising: a network connection that is coupled to tenants of a multi-tenant service; a processor and a computer-readable medium; an operating environment stored on the computer-readable medium and executing on the processor; and a rules manager operating under a control of the operating environment and operative to: display rules including rules from a current level and inherited rules from a hierarchical level above the current level to form displayed rules; distinguish the inherited rules from the rules from the current level by displaying an indicator that indicates a source of an inherited rule from a hierarchical level above the current level, receive a change to the displayed rules; provide the change to a lower hierarchical level such that when the inherited rules are displayed at the lower hierarchical level, the change made to the displayed rules is also changed.
 38. The system of claim 37, wherein the operating environment is operative to at least one of: determine when a rule is added; receive a specific ordering of a subset of the displayed rules; or create a local version of an inherited rule that is editable and can be deleted at the current level.
 39. The system of claim 37, wherein the operating environment is further operative to: display ordered inherited rules as a grouping; and indicate a name near a display of the ordered inherited rules that indicates the level where the ordering was created.
 40. The system of claim 37, wherein the operating environment is further operative to: prevent an ordering of inherited rules from being changed at a lower hierarchical level but allow each of the inherited rules within the ordering to be enabled or disabled. 